package com.feicheng.iou.mapper;

import com.feicheng.iou.entity.ReservationTry;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tianchunlei
 * @since 2021-06-28
 */
public interface ReservationTryMapper extends BaseMapper<ReservationTry> {

    /**
     * @Author wuweinan
     * @Description  查询出对应用户的预约试听总条数
     * @Date 2021-8-9 17:19
     * @param autorId
     * @return Integer
     */
    Integer statisticsReservationTry(@Param("searchStartTime") LocalDateTime searchStartTime,
                                     @Param("searchEndTime") LocalDateTime searchEndTime,
                                     @Param("autorId") Integer autorId);


}
